package br.com.duckslab.farm;


import org.andengine.engine.camera.Camera;
import org.andengine.engine.options.EngineOptions;
import org.andengine.engine.options.ScreenOrientation;
import org.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy;
import org.andengine.entity.scene.Scene;

import org.andengine.extension.ui.livewallpaper.BaseLiveWallpaperService;



public class LiveWallpaperMain extends BaseLiveWallpaperService {
	
	
	public static final String SHARED_PREFS_NAME = "livewallpapersettings";
	private int CAMERA_WIDTH = 720;
	private int CAMERA_HEIGHT = 1024;
	
	private Camera labCamera ;
	private Scene labScene;
	
	
	@Override
	public EngineOptions onCreateEngineOptions() {
		labCamera = new Camera(0,0,CAMERA_WIDTH, CAMERA_HEIGHT);
		return new EngineOptions(true, ScreenOrientation.PORTRAIT_FIXED, new RatioResolutionPolicy(CAMERA_WIDTH, CAMERA_HEIGHT), labCamera);
	}

	@Override
	public void onCreateResources(
			OnCreateResourcesCallback pOnCreateResourcesCallback)
			throws Exception {
		
				
		pOnCreateResourcesCallback.onCreateResourcesFinished();
		
	}

	@Override
	public void onCreateScene(OnCreateSceneCallback pOnCreateSceneCallback)
			throws Exception {
		
		
	}

	@Override
	public void onPopulateScene(Scene pScene,
			OnPopulateSceneCallback pOnPopulateSceneCallback) throws Exception {
		// TODO Auto-generated method stub
		
	}

	
}
